import Vue from "vue";
import { Swipe, SwipeItem } from "vant";

Vue.use(Swipe);
Vue.use(SwipeItem);

import { Toast } from "vant";
Vue.use(Toast);

import { Checkbox, CheckboxGroup } from "vant";

Vue.use(Checkbox);
Vue.use(CheckboxGroup);

import { Empty } from "vant";

Vue.use(Empty);

import { ShareSheet } from "vant";

Vue.use(ShareSheet);

import { Image as VanImage } from "vant";

Vue.use(VanImage);

import { Lazyload } from "vant";
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});

import { Loading } from "vant";

Vue.use(Loading);

import { Search } from "vant";

Vue.use(Search);

import { DropdownMenu, DropdownItem } from "vant";

Vue.use(DropdownMenu);
Vue.use(DropdownItem);

import { PullRefresh } from "vant";

Vue.use(PullRefresh);

import { List } from "vant";

Vue.use(List);

import { Tab, Tabs } from "vant";

Vue.use(Tab);
Vue.use(Tabs);

import { Popover } from "vant";

Vue.use(Popover);
